import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import { BrowserRouter as Router } from './react-router-dom';
ReactDOM.render(<Router><App /></Router >, document.getElementById('root'));
/**
 history:
action: "POP"
block: ƒ block(prompt)
createHref: ƒ createHref(location)
go: ƒ go(n)
goBack: ƒ goBack()
goForward: ƒ goForward()
length: 12
listen: ƒ listen(listener)
location: {pathname: "/detail/11", search: "", hash: "", state: undefined}
push: ƒ push(path, state)
replace: ƒ replace(path, state)


location
hash: ""
pathname: "/detail/11"
search: ""
state: undefined


match
isExact: true
params: {id: "11"}
path: "/detail/:id"
url: "/detail/11"


 */


